const
fs = require('fs'),
path = require('path'),
co = require('co'),
ReactDOMServer = require('react-dom/server'),
React = require('react');

var BaseDir=path.resolve(__dirname,"../../view")

var data={
	words:"hello myself"
}

async function index(ctx,next){
	ctx.render(BaseDir+'/panel/index.pug',{rootData:JSON.stringify(data)})
}

module.exports=index

